package com.mengwen.backstage.service.impl;

import com.mengwen.backstage.mapper.AnnoMapper;
import com.mengwen.backstage.pojo.Anno;
import com.mengwen.backstage.service.AnnoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author LiangYonghui
 * @date 2020/4/26 23:04
 * @description  管理员服务类的实现类
 */
@Service
public class AnnoServiceImpl implements AnnoService {

    @Autowired
    AnnoMapper annoMapper;

    @Override
    public int sendAnno(Anno anno) {
        return annoMapper.sendAnno(anno);
    }

    @Override
    public int deleteAnno() {
        return annoMapper.deleteAnno();
    }

    @Override
    public Anno getAnno() {
        return annoMapper.getAnno();
    }
}
